#pragma once

bool point_rect_intersect(const pos2 &point, 
						  f32 x, f32 y, f32 w, f32 h);

bool rect_rect_intersect(f32 x1, f32 y1, f32 w1, f32 h1, 
						 f32 x2, f32 y2, f32 w2, f32 h2);